projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3da64ce
)
[MAC_OS8]: Don't include stdlib.h. Include sys/param.h.
author
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Sun, 18 Sep 2005 05:42:49 +0000
(
05:42
+0000)
committer
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Sun, 18 Sep 2005 05:42:49 +0000
(
05:42
+0000)
src/sysdep.c
patch
|
blob
|
history
diff --git
a/src/sysdep.c
b/src/sysdep.c
index c0ff47e3072fa89667141660d7212b424ae8ec69..eae493ba4532876039c1588b9f582d5fcb88efc7 100644
(file)
--- a/
src/sysdep.c
+++ b/
src/sysdep.c
@@
-49,10
+49,7
@@
extern void srandom P_ ((unsigned int));
#include "blockinput.h"
#ifdef MAC_OS8
-/* It is essential to include stdlib.h so that this file picks up
- the correct definitions of rand, srand, and RAND_MAX.
- Otherwise random numbers will not work correctly. */
-#include <stdlib.h>
+#include <sys/param.h>
#ifndef subprocesses
/* Nonzero means delete a process right away if it exits (process.c). */